#!/home/lmy/.local/bin/zsh
i=100
sum=0
while [ $i -gt 0 ];do
  let sum+=`./scan 1000000 2000000`
  let i=$i-1
done
let avg=$sum/100
echo $avg
